package org.jeecg.modules.xl.order.service;

import org.jeecg.modules.xl.order.dto.XlCustomerOrdeDTO;
import org.jeecg.modules.xl.order.entity.XlCustomerShipmentDetail;
import org.jeecg.modules.xl.order.entity.XlCustomerShipment;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 发货表
 * @Author: jeecg-boot
 * @Date:   2024-10-27
 * @Version: V1.0
 */
public interface IXlCustomerShipmentService extends IService<XlCustomerShipment> {


	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**
	 * 根据 快递单号收货
	 */
	public void takeDeliveryByDeliveryCode(String deliveryCode);

	/**
	 * 收货
	 * @param dto
	 */
	void takeDelivery(XlCustomerOrdeDTO dto);

	/**
	 * 收货凭证
	 * @param dto
	 */
	void submitTakeDelivery(XlCustomerOrdeDTO dto);
}
